package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_xiuxian_subsection_reward", desc = "凡人修仙传-历练地图进度奖励领取日志", autoSave = true, uploadCk = true)
public class LogXiuXianSubsectionReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "地图id")
    private int missionId;

    @FieldTypeAnnotation(desc = "进度值")
    private int subsectionVal;

    @FieldTypeAnnotation(desc = "获得奖励")
    private String reward;

    public LogXiuXianSubsectionReward(long userId, int activityId, int missionId, int subsectionVal, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.missionId = missionId;
        this.subsectionVal = subsectionVal;
        this.reward = reward;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
